package com.rzico.order.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by icssh on 2020/5/14.
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TrackingNoVo {

    @ApiModelProperty(value = "商品名称")
    protected String name;

    @ApiModelProperty(value = "销售价")
    protected java.math.BigDecimal price;

    @ApiModelProperty(value = "商品条码")
    protected String sn;

    @ApiModelProperty(value = "商品规格")
    protected String spec;

    @ApiModelProperty(value = "商品规格")
    protected String unit;

    @ApiModelProperty(value = "商品规格")
    protected String thumbnail;

    @ApiModelProperty(value = "运单号")
    protected String trackingNo;

    @ApiModelProperty(value = "类型 {0.产品,1:套餐,2:水票,3.压桶}" )
    protected Integer subType;

    @ApiModelProperty(value = "已配送")
    protected BigDecimal shipped;

    @ApiModelProperty(value = "待配送")
    protected BigDecimal unshipped;


    @ApiModelProperty(value = "商品编号")
    @Column(name = "product_id")
    protected Long productId;

    @ApiModelProperty(value = "日期" )
    protected Date createDate;

}
